package chp03.menu;

import java.util.Scanner;

public class Menu1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("欢迎使用学生管理系统");
        System.out.println("1.进入系统");
        System.out.println("2.退出");
        System.out.print("请选择:");
        int choose = input.nextInt();
        if(choose == 1){
            System.out.println("\n成功进入系统");
            System.out.println("1.新增学生");
            System.out.println("2.修改学生");
            System.out.println("3.查询学生");
            System.out.println("4.删除学生");
            System.out.print("请选择:");
            choose = input.nextInt();
        }else{
            System.out.println("再见");
        }
    }
}
